<include file="Public:header"/>
<form action="" method="post" class="ajax-form">
<div class="form_data">
	<div class="mod_name">
		<span class="name"><eq name="info.id" value="">添加<else/>修改</eq>类别</span>
	</div>
	<div class="mod_data">
		<div class="name">类别名称</div>
		<div class="input_data">
			<input type="text" name="title" value="{$info['title']}" datatype="*" id="w300" <eq name="info.title" value="">ajaxurl="{:URL('valid_field',array('fileds'=>'module','value'=>$type))}"</eq>>
		</div>
	</div>

	{:W('Plugin/upload_file', array('images_id', 'img', '类别图标', '', 0, '', 1))}

	<div class="mod_data">
		<div class="name">描述说明</div>
		<div class="input_data">
			<textarea name="description" class="w400 h100">{$info['description']}</textarea>
		</div>
	</div>
	<div class="mod_submit">
		<input type="hidden" name="module" value="{$type}" />
		<input type="hidden" name="id" value="{$info['id']}" />
		<button type="submit" class="btn btn-save">保存</button>
		<button type="reset" class="btn btn-reset">重置</button>
		<button class="btn btn-back">返回</button>
	</div>
</div>
</form>
<include file="Public:footer"/>